package com.cyys.mapper;

import com.cyys.entity.ShoppingCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 购物车 Mapper 接口
 * </p>
 *
 * @author Long
 * @since 2022-06-13
 */
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {
     int updateNumberById(@Param("number") Integer number, @Param("id") Integer id);

     int updateNumberList(Integer user_id);

     ShoppingCart findList(Integer id);

     List<ShoppingCart> selectUserId(Integer user_id);

}
